package com.lagou.domain;

public class Comment {

    /**
     *  content longtext COMMENT '评论内容',
     *   author varchar(200) DEFAULT NULL COMMENT '评论作者',
     *   a_id int(20) DEFAULT NULL COMMENT '关联的文章id',
     */

    //评论id
    private int id;

    //评论内容
    private String content;

    //评论作者
    private String author;

    //关联的文章id
    private int a_id;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getA_id() {
        return a_id;
    }

    public void setA_id(int a_id) {
        this.a_id = a_id;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "content='" + content + '\'' +
                ", author='" + author + '\'' +
                ", a_id=" + a_id +
                '}';
    }
}
